package com.bosssoft.boss_exam_db.service.busines;

import com.bosssoft.boss_exam_db.entity.Applicant;
import com.bosssoft.boss_exam_db.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.lang.reflect.InvocationTargetException;

/***
 * @Author lys(cherish)
 * @Phone 17720799636
 * @Date  2019/3/14
 * @Description 应聘人服务
 * @since JDK 1.8
 **/
public interface ApplicantService extends BaseService<Applicant> {
    PageInfo<Applicant> queryByCondition(String username, String education, String school, Integer page, Integer limit, String sort, String order);

    Boolean deleteApplicantAndResume(Applicant applicant) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

    Applicant getApplicantById(String applicantId);

}
